home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 1.toast / Sample Code / Java / SlideShow / Source Clippings / Controller / Controller Action Management / Controller Action Management.rsrc
MacOS Resource Fork  |  2000-09-28  |  1.3 KB  |  [clpt/drag]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacOS Resource Fork (archive/rsrc).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert MacOS Resource Fork (archive/rsrc) magic Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert BeOS Resource Data (archive/beOSResourceData) ext Unsupported
1% dexvert AppleSingle (archive/appleSingle) fallback Supported
1% dexvert TTComp Archive (archive/ttcomp) fallback Supported
100% file AppleDouble encoded Macintosh file default
99% file data default
66% TrID Mac AppleDouble encoded default
33% TrID TTComp archive compressed (bin-2K) default (weak)
100% siegfried fmt/503 AppleDouble Resource Fork (2) default
100% lsar AppleSingle default


id metadata
keyvalue
macFileType[clpt]
macFileCreator[drag]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 16 07 00 02 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 02 00 00 00 09 00 00 |........|........|
|00000020| 00 32 00 00 00 20 00 00 | 00 02 00 00 00 52 00 00 |.2... ..|.....R..|
|00000030| 04 b6 63 6c 70 74 64 72 | 61 67 01 00 00 00 00 00 |..clptdr|ag......|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 01 00 00 00 | 04 70 00 00 03 70 00 00 |........|.p...p..|
|00000060| 00 46 0c 00 00 90 41 00 | 14 7c 09 03 a6 80 4c 00 |.F....A.|.|....L.|
|00000070| 04 4e 80 04 20 00 81 12 | 22 0c f8 02 22 01 38 03 |.N.. ...|"...".8.|
|00000080| 21 f8 1c 43 6f 6e 74 72 | 6f 6c 6c 65 72 20 41 63 |!..Contr|oller Ac|
|00000090| 74 69 6f 6e 20 4d 61 6e | 61 67 65 6d 65 6e 74 69 |tion Man|agementi|
|000000a0| 6e 72 02 00 63 6c 70 74 | 64 72 61 67 00 00 01 78 |nr..clpt|drag...x|
|000000b0| 01 60 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.`......|........|
|000000c0| 00 00 00 00 b3 5a 4b f6 | 00 00 00 00 00 00 04 b6 |.....ZK.|........|
|000000d0| 01 67 01 01 00 00 00 00 | 00 00 01 20 21 30 03 21 |.g......|... !0.!|
|000000e0| d8 0a 2c 01 88 00 0a 00 | 0b 65 6e 65 74 00 01 04 |..,.....|.enet...|
|000000f0| 22 01 98 02 2c 01 a0 00 | 05 00 08 74 6f 6b 6e 00 |"...,...|...tokn.|
|00000100| 02 04 22 01 b0 02 2c 01 | b8 00 0f 00 08 66 64 64 |.."...,.|.....fdd|
|00000110| 69 00 11 04 22 01 c8 04 | 28 65 6e 65 74 44 52 56 |i..."...|(enetDRV|
|00000120| 52 08 26 2e 45 4e 45 54 | 30 02 28 74 6f 6b 6e 44 |R.&.ENET|0.(toknD|
|00000130| 52 56 52 08 26 2e 54 4f | 4b 4e 30 02 28 66 64 64 |RVR.&.TO|KN0.(fdd|
|00000140| 69 44 52 56 52 08 26 2e | 46 44 44 49 30 0a 2a 09 |iDRVR.&.|FDDI0.*.|
|00000150| 53 4c 00 00 03 48 20 20 | 20 20 2f 2a 2a 0d 20 20 |SL...H | /**. |
|00000160| 20 20 20 2a 20 41 64 64 | 73 20 74 68 65 20 73 70 | * Add|s the sp|
|00000170| 65 63 69 66 69 65 64 20 | 61 63 74 69 6f 6e 20 6c |ecified |action l|
|00000180| 69 73 74 65 6e 65 72 20 | 74 6f 20 72 65 63 65 69 |istener |to recei|
|00000190| 76 65 20 61 63 74 69 6f | 6e 20 65 76 65 6e 74 73 |ve actio|n events|
|000001a0| 2e 0d 20 20 20 20 20 2a | 20 40 70 61 72 61 6d 20 |.. *| @param |
|000001b0| 6c 20 74 68 65 20 61 63 | 74 69 6f 6e 20 6c 69 73 |l the ac|tion lis|
|000001c0| 74 65 6e 65 72 0d 20 20 | 20 20 20 2a 2f 0d 09 70 |tener. | */..p|
|000001d0| 75 62 6c 69 63 20 76 6f | 69 64 20 61 64 64 41 63 |ublic vo|id addAc|
|000001e0| 74 69 6f 6e 4c 69 73 74 | 65 6e 65 72 28 41 63 74 |tionList|ener(Act|
|000001f0| 69 6f 6e 4c 69 73 74 65 | 6e 65 72 20 6c 29 0d 09 |ionListe|ner l)..|
|00000200| 7b 0d 09 09 61 63 74 69 | 6f 6e 4c 69 73 74 65 6e |{...acti|onListen|
|00000210| 65 72 20 3d 20 41 57 54 | 45 76 65 6e 74 4d 75 6c |er = AWT|EventMul|
|00000220| 74 69 63 61 73 74 65 72 | 2e 61 64 64 28 61 63 74 |ticaster|.add(act|
|00000230| 69 6f 6e 4c 69 73 74 65 | 6e 65 72 2c 20 6c 29 3b |ionListe|ner, l);|
|00000240| 0d 09 7d 0d 0d 20 20 20 | 20 2f 2a 2a 0d 20 20 20 |..}.. | /**. |
|00000250| 20 20 2a 20 52 65 6d 6f | 76 65 73 20 74 68 65 20 | * Remo|ves the |
|00000260| 73 70 65 63 69 66 69 65 | 64 20 61 63 74 69 6f 6e |specifie|d action|
|00000270| 20 6c 69 73 74 65 6e 65 | 72 20 73 6f 20 69 74 20 | listene|r so it |
|00000280| 6e 6f 20 6c 6f 6e 67 65 | 72 20 72 65 63 65 69 76 |no longe|r receiv|
|00000290| 65 73 0d 20 20 20 20 20 | 2a 20 61 63 74 69 6f 6e |es. |* action|
|000002a0| 20 65 76 65 6e 74 73 20 | 66 72 6f 6d 20 74 68 69 | events |from thi|
|000002b0| 73 20 63 6f 6d 70 6f 6e | 65 6e 74 2e 0d 20 20 20 |s compon|ent.. |
|000002c0| 20 20 2a 20 40 70 61 72 | 61 6d 20 6c 20 74 68 65 | * @par|am l the|
|000002d0| 20 61 63 74 69 6f 6e 20 | 6c 69 73 74 65 6e 65 72 | action |listener|
|000002e0| 0d 20 20 20 20 20 2a 2f | 0d 09 70 75 62 6c 69 63 |. */|..public|
|000002f0| 20 76 6f 69 64 20 72 65 | 6d 6f 76 65 41 63 74 69 | void re|moveActi|
|00000300| 6f 6e 4c 69 73 74 65 6e | 65 72 28 41 63 74 69 6f |onListen|er(Actio|
|00000310| 6e 4c 69 73 74 65 6e 65 | 72 20 6c 29 0d 09 7b 0d |nListene|r l)..{.|
|00000320| 09 09 61 63 74 69 6f 6e | 4c 69 73 74 65 6e 65 72 |..action|Listener|
|00000330| 20 3d 20 41 57 54 45 76 | 65 6e 74 4d 75 6c 74 69 | = AWTEv|entMulti|
|00000340| 63 61 73 74 65 72 2e 72 | 65 6d 6f 76 65 28 61 63 |caster.r|emove(ac|
|00000350| 74 69 6f 6e 4c 69 73 74 | 65 6e 65 72 2c 20 6c 29 |tionList|ener, l)|
|00000360| 3b 0d 09 7d 0d 09 0d 09 | 2f 2a 2a 0d 20 20 20 20 |;..}....|/**. |
|00000370| 20 2a 20 46 69 72 65 20 | 61 6e 20 61 63 74 69 6f | * Fire |an actio|
|00000380| 6e 20 65 76 65 6e 74 20 | 74 6f 20 74 68 65 20 6c |n event |to the l|
|00000390| 69 73 74 65 6e 65 72 73 | 2e 0d 20 20 20 20 20 2a |isteners|.. *|
|000003a0| 20 40 70 61 72 61 6d 20 | 63 6f 6d 6d 61 6e 64 2c | @param |command,|
|000003b0| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 20 53 74 72 | the com|mand Str|
|000003c0| 69 6e 67 20 74 6f 20 73 | 65 6e 64 20 77 69 74 68 |ing to s|end with|
|000003d0| 20 74 68 65 20 41 63 74 | 69 6f 6e 45 76 65 6e 74 | the Act|ionEvent|
|000003e0| 0d 20 20 20 20 20 2a 2f | 0d 09 70 72 6f 74 65 63 |. */|..protec|
|000003f0| 74 65 64 20 76 6f 69 64 | 20 66 69 72 65 41 63 74 |ted void| fireAct|
|00000400| 69 6f 6e 45 76 65 6e 74 | 28 53 74 72 69 6e 67 20 |ionEvent|(String |
|00000410| 63 6f 6d 6d 61 6e 64 29 | 0d 09 7b 0d 09 09 69 66 |command)|..{...if|
|00000420| 20 28 61 63 74 69 6f 6e | 4c 69 73 74 65 6e 65 72 | (action|Listener|
|00000430| 20 21 3d 20 6e 75 6c 6c | 29 0d 09 09 09 61 63 74 | != null|)....act|
|00000440| 69 6f 6e 4c 69 73 74 65 | 6e 65 72 2e 61 63 74 69 |ionListe|ner.acti|
|00000450| 6f 6e 50 65 72 66 6f 72 | 6d 65 64 28 6e 65 77 20 |onPerfor|med(new |
|00000460| 41 63 74 69 6f 6e 45 76 | 65 6e 74 28 74 68 69 73 |ActionEv|ent(this|
|00000470| 2c 20 41 63 74 69 6f 6e | 45 76 65 6e 74 2e 41 43 |, Action|Event.AC|
|00000480| 54 49 4f 4e 5f 50 45 52 | 46 4f 52 4d 45 44 2c 20 |TION_PER|FORMED, |
|00000490| 63 6f 6d 6d 61 6e 64 29 | 29 3b 0d 09 7d 0d 00 00 |command)|);..}...|
|000004a0| 00 20 00 00 00 01 00 00 | 00 04 00 00 00 00 00 00 |. ......|........|
|000004b0| 00 01 54 45 58 54 00 00 | 01 00 00 00 00 00 00 00 |..TEXT..|........|
|000004c0| 00 00 00 00 01 00 00 00 | 04 70 00 00 03 70 00 00 |........|.p...p..|
|000004d0| 00 46 05 ab ab 28 3f e6 | 00 00 00 1c 00 46 00 01 |.F...(?.|.....F..|
|000004e0| 54 45 58 54 00 00 00 12 | 64 72 61 67 00 00 00 1e |TEXT....|drag....|
|000004f0| 01 00 ff ff 00 00 00 00 | 00 62 10 fc 00 80 ff ff |........|.b......|
|00000500| 00 00 03 4c 00 85 1a f8 | |...L....| |
+--------+-------------------------+-------------------------+--------+--------+